package org.example.dish_pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName(value ="order_create_request")
public class OrderCreateRequest {
    private String orderNo;
    private Integer userId;
    private Integer tableId;
    private String orderType;
    private Double totalAmount;
    private String payMethod;
    private String notes;

    @TableField(exist = false)
    private List<OrderItem> items;
}
